<extend name="./Public/layout.html" />
<block name="main">

        <!-- Main content -->
        <section class="content">
            <div class="row">
                <!-- left column -->
               
                    <!-- general form elements -->
                    <div class="box box-primary">
                        <div class="box-header with-border">
                            <h3 class="box-title">新增活动</h3>
                        </div><!-- /.box-header -->
                        <!-- form start -->
                        <form role="form" action="{:U('Index/huodongAdd')}" method="post">
                            <div class="box-body">
                                <div class="form-group">
                                    <label for="exampleInputEmail1">活动名称</label>
                                    <input type="text" name="name" class="form-control" id="exampleInputEmail1"
                                           placeholder="活动名称">
                                </div>
                                <div class="form-group">
                                <label>活动截止时间:</label>
                                <div class="input-group">
                                        <select name="year">  
                                              <option>--请选择--</option>  
                                            <for start="2016" end="2025">
                                                <option value={$i}>{$i}</option> 
                                                </for>   
                                        </select>
                                        -
                                        <select name="month">  
                                                <option>--请选择--</option>  
                                                 
                                                <for start="1" end="13">
                                                <option value={$i}>{$i}</option> 
                                                </for> 
                                        </select>
                                        -
                                        <select name="day">  
                                                <option>--请选择--</option>  
                                                 
                                                <for start="1" end="32">
                                                <option value={$i}>{$i}</option> 
                                                </for> 
                                        </select>
                                       
                                </div>
                                

                                <div class="form-group">
                                    <label for="exampleInputPassword1">活动介绍</label>
                      
                                    <textarea class="form-control" name="introduce" cols="30" rows="4">
                                    introduce
                                    </textarea>
                                </div>

                            </div><!-- /.box-body -->

                            <div class="box-footer">
                                <button type="submit" class="btn btn-primary">创建</button>
                            </div>
                        </form>
                    </div><!-- /.box -->

                   
                    




              
            </div>   <!-- /.row -->
        </section><!-- /.content -->
</block>